package com.paic.mhis.hcpms.common.baseFile.biz.service;

import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.paic.pafa.app.biz.service.BusinessServiceException;

/**
 * Description: 文件上传、下载、删除等功能实现
 * 
 * @param args
 * 
 *            Modification History: Date Version Author Description
 *            ------------------------------------------------------------------
 *            2014-12-29 hcpms_j2ee EX-LUORONG001 创建
 */

public interface BaseFileService {

	/**
	 * 文件信息新增
	 * 
	 * @param transferJson
	 * @param currentUser
	 * @return
	 */
	public Map<String, Object> addImage(JSONObject transferJson,
			String username, String fileName, long fileSizeTemp) throws BusinessServiceException;

	/**
	 * 获取文件
	 * 
	 * @param transferNo
	 * @return
	 */
	public Map<String, Object> getImageList(String id) throws BusinessServiceException;

	/**
	 * 文件信息修改状态
	 * 
	 * @param transferJson
	 * @return
	 */
	public Map<String, Object> deleteFile(JSONObject transferJson) throws BusinessServiceException;
}
